let id = 0;
const user = {
  [id++]: id,
  [id++]: id,
  [id++]: id,
};
console.log(user);